@import './modules/reset.scss';

$border:1px solid red;

.title{
    margin-left: 7%;
    font-size: 17px; 
    margin-top: 7%;
    box-sizing: border-box;
}
.main{
    width: 1000px;
    height: 645px;
    margin: 0 auto;
    margin-top: 32px;
    .left{
        float: left;
        width: 546px;
        .big-img{
            width: 400px;
            height: 400px;
            margin: 10px;
            margin-left: 25px;
        }
        ul{
            height: 70px;
            margin-top: 25px;
            margin-left: 10px;
            li{
                width: 70px;
                height: 70px;
                float: left;
                margin-right: 14px;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
    .right{
        width:400px;
        height: 527px;
        float: left;
        margin-left: 20px;
        .name{
            font-size: 18px;
            color: #191919; 
            margin-top: 10px;
        } 
        .business{
            img{
                width: 50px;
                height: 50px;
            }
            a{
                color: #3d2d23;
                font-size: 12px;
            }
        }
        .sales-situation{
            font-size: 13px;
            color: #9b9b9b;
            margin-top: 15px;
            b{
                color: #fa585a;
                font-size: 30px;
                display: inline-block;
            }
            b:before{
                content: "￥";
                font-size: 16px; 
            }
            i,em{
                display: inline-block;
                margin-left: 90px;
                font-style:normal
            }
            i{
                text-decoration: line-through;
            }
        }
       
        span{
            display: block;
            font-size: 12px;
            color: #666666;
            margin-top: 50px;
        }
        ul{
            width: 100%;
            border-top: 1px solid #9b9b9b;
            border-bottom: 1px solid #9b9b9b;
            margin-top: 24px;
            li{
               height: 28px;
               line-height: 28px;
               margin-top: 10px;
               font-size: 14px;
               &:hover{
                   background-color: #eeeeee;
               }
            }
        }
        .num{
            height: 32px;
            line-height: 32px;
            font-size: 13px;
            color: #9b9b9b;
            margin-top: 17px;
            position: relative;
            input{
                width: 50px;
                height: 30px;
                border: 1px solid #9b9b9b;
                margin-left: 26px;
                text-align: center;
            }
            .btn-add-tocar{
                width: 12px;
                height: 12px;
                display: inline-block;
                border: 1px solid #9b9b9b;
                background: url('/images/up.png') no-repeat center center;
                position: absolute;
                top: 0px;
                left: 114px;
            }
            .btn-sub-tocar{
                width: 12px;
                height: 12px;
                display: inline-block;
                border: 1px solid #9b9b9b;
                background: url('/images/down.png') no-repeat center center;
                margin-left: 11px;
                margin-top: 6px;
                position: absolute;
                top: 15px;
                left: 103px;
            }
        }
        .buy-btn{
            margin-top: 40px;
           
            .buy,.add-to-car{
                width: 162px;
                height: 44px;
                border: 1px solid #191919;
                font-size: 19px;
                text-align: center;
                line-height: 44px;
                float: left;
            }
            .add-to-car{
                width: 200px;
                background-color: #3d2d23;
                margin-left: 32px;
                color: #ffffff;
            }
            .buy{
                &:hover{
                    background-color: #3d2d23; 
                    color: #ffffff;
                }
            }
        }
        
    }
}
.details{
    width: 1000px;
    margin: 0 auto;
    margin-top: 20px;
    img{
        width: 100%;
        height: 100%;
    }
}